body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container,
.register-container{
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 400px;
    /* 适当宽度 */
    margin: 10px;
    /* 确保间距 */
}

.add-Staff-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 500px;
    /* 适当宽度 */
    margin: 10px;
    /* 确保间距 */
}

.management-container{
    background-color: #fff;
    /*max-width: 1200px; /* 限制操作界面的最大宽度 */
    width: 150vh;
    height: 100vh;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    margin-top: 85px;
}

.employeechange-container{
    background-color: #fff;
    /*max-width: 1200px; /* 限制操作界面的最大宽度 */
    width: 150vh;
    height: 100vh;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    margin-top: 85px;
}

.department-container{
    background-color: #fff;
    /*max-width: 1200px; /* 限制操作界面的最大宽度 */
    width: 150vh;
    height: 100vh;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);

    margin-top: 85px;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
    display: flex;
}

h2 {
    margin-bottom: 20px;
    /* 加强标题和内容之间的间距 */
    text-align: center;
}

.form-group {
    margin-bottom: 15px;
}
.form-group-item {
    display: flex;
    justify-content: space-between flex-end;
    align-items: center;
}

.form-group-item label {
    min-width: 65px;
    max-width: 80px;
    text-align: right;
}
.form-group-item input {
    flex: 1;
}

#searchCriteria{
    width: 10%;
    padding: 10px;
    margin-top: 5px;

    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="date"],
select,
button {
    width: 100%;
    padding: 10px;
    margin-top: 5px;

    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: bold;
    /* 加强按钮的可点击性 */
}

button:hover {
    background-color: #45a049;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
}

th {
    background-color: #f2f2f2;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

p {
    color: red;
    margin-top: 10px;
}

.nav{
    height: 40px;
    background: #45a049;
    box-shadow: 0 1px 2px #666;

    position: fixed; /* 固定在页面顶部 */
    top: 0; /* 距离顶部为0 */
    left: 0; /* 距离左边为0 */
    width: 100%; /* 宽度为100% */
    z-index: 1000; /* 确保导航栏在其他元素之上 */
}

.btli{
    float: left;

    width: 100px;
    line-height: 40px;
    text-align: center;

}

.navlist a{
    color: #fff;
    display: block;

}

.navlist a:hover{
    background: #666;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
} 